LEADTOOLS Medical (Leadtools.Dicom assembly)

GetValue<T>(Int64,T,GetValueDelegate) Method

Show in webframe







specifies the type of the value to return
tag of the item to find.
a value of type T that is returned if the actual value cannot be retrieved.
an optional delegate that converts that extracted data to any type
Returns the value of a DICOM element
Syntax
public T GetValue<T>( 
   long tag,
   T defaultValue,
   GetValueDelegate getValueDelegate
)
'Declaration
 
Public Overloads Function GetValue(Of T)( _
   ByVal tag As Long, _
   ByVal defaultValue As T, _
   ByVal getValueDelegate As GetValueDelegate _
) As T
'Usage
 
Dim instance As DicomDataSet
Dim tag As Long
Dim defaultValue As T
Dim getValueDelegate As GetValueDelegate
Dim value As T
 
value = instance.GetValue(Of T)(tag, defaultValue, getValueDelegate)
public T GetValue<T>( 
   long tag,
   T defaultValue,
   GetValueDelegate getValueDelegate
)

            

            
 function Leadtools.Dicom.DicomDataSet.GetValue``1(Int64,``0,GetValueDelegate)( 
   tag ,
   defaultValue ,
   getValueDelegate 
)
public:
T^ GetValuegeneric<typename T>
( 
   int64 tag,
   T^ defaultValue,
   GetValueDelegate^ getValueDelegate
) 

Parameters

tag
tag of the item to find.
defaultValue
a value of type T that is returned if the actual value cannot be retrieved.
getValueDelegate
an optional delegate that converts that extracted data to any type

Type Parameters

T
specifies the type of the value to return

Return Value

a value of type T that is the value of the DICOM element
Remarks
For information on this method, see GetValue.
Example
For an example, refer to GetValueDelegate.
Requirements

Target Platforms

See Also

Reference

DicomDataSet Class
DicomDataSet Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features